using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ElevatorCarController : MonoBehaviour
{
    public List<Transform> Transforms { get; private set; } = new List<Transform>();

    void OnTriggerEnter(Collider other)
    {
        Transforms.Add(other.transform);
    }

    void OnTriggerExit(Collider other)
    {
        Transforms.Remove(other.transform);
    }
}
